// sum.js

module.exports = function(){
    let args = Array.prototype.slice.apply(arguments);
    let total = 0;
    args.forEach((item, index) => {
        total += Number(item);
    });
    return total;
};
